home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Freeware / Adobe Air 1.5 / AdobeAIRInstaller.exe / setup.swf / scripts / _winRestoreButtonStyle.as < prev    next >
Encoding:
Text File  |  2008-10-29  |  1.5 KB  |  42 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _winRestoreButtonStyle
  8.    {
  9.       private static var _embed_css_win_restore_over_png_2121827899:Class = _winRestoreButtonStyle__embed_css_win_restore_over_png_2121827899;
  10.       
  11.       private static var _embed_css_win_restore_down_png_445555619:Class = _winRestoreButtonStyle__embed_css_win_restore_down_png_445555619;
  12.       
  13.       private static var _embed_css_win_restore_up_png_1253523581:Class = _winRestoreButtonStyle__embed_css_win_restore_up_png_1253523581;
  14.       
  15.       public function _winRestoreButtonStyle()
  16.       {
  17.          super();
  18.       }
  19.       
  20.       public static function init(param1:IFlexModuleFactory) : void
  21.       {
  22.          var fbs:IFlexModuleFactory = param1;
  23.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".winRestoreButton");
  24.          if(!style)
  25.          {
  26.             style = new CSSStyleDeclaration();
  27.             StyleManager.setStyleDeclaration(".winRestoreButton",style,false);
  28.          }
  29.          if(style.defaultFactory == null)
  30.          {
  31.             style.defaultFactory = function():void
  32.             {
  33.                this.upSkin = _embed_css_win_restore_up_png_1253523581;
  34.                this.downSkin = _embed_css_win_restore_down_png_445555619;
  35.                this.overSkin = _embed_css_win_restore_over_png_2121827899;
  36.             };
  37.          }
  38.       }
  39.    }
  40. }
  41.  
  42.